package com.ttg.model.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zhangHongYuan
 * @description
 * @date 2023/8/2 17:21
 */
@Data
@TableName(value = "tbl_task_rules_type")
public class RulesType implements Serializable {

    private static final long serialVersionUID = -5027352701587721817L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "parent_id")
    private Integer parentId;

}
